package cn.yr.clock.service.impl;

import cn.yr.clock.domain.entity.Engine;
import cn.yr.clock.domain.vo.EnginePrizeVo;
import cn.yr.clock.mapper.EngineMapper;
import cn.yr.clock.service.EngineService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("engineService")
public class EngineServiceImpl extends ServiceImpl<EngineMapper, Engine> implements EngineService {

	@Autowired
	private EngineMapper engineMapper;

	@Override
	public List<EnginePrizeVo> listEngine(EnginePrizeVo enginePrizeVo) {
		return engineMapper.selectEngine(enginePrizeVo);
	}
}